<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!--*****************************快捷方式页面********************************-->
<script>
    $(function () {
        quickAccessInit();
    })

    // 快捷方式
    function quickAccessInit() {
        <!--为class为shortcut绑定上点击事件-->
        $('.shortcut').click(function () {
            var title = $(this).find('.title').text();
            var url = $('.menu_item:contains(' + title + ')').attr('name');
            $('#panel').load(url);
        })
    }
</script>
<!-- 整一个欢迎界面div -->
<div class="panel panel-default">
    <!-- 面包屑（主页） -->
    <ol class="breadcrumb">
        <li>主页</li>
    </ol>

    <div class="panel-body">
        <div class="row" style="margin-top: 100px; margin-bottom: 100px">
            <div class="col-md-1"></div>
            <div class="col-md-10" style="text-align: center">
                <!--库存查询div-->
                <div class="col-md-4 col-sm-4">
                    <a href="javascript:void(0)" class="thumbnail shortcut"> <img
                            src="media/icons/stock_search-512.png" alt="库存查询"
                            class="img-rounded link" style="width: 150px; height: 150px;">
                        <div class="caption">
                            <h3 class="title">库存查询</h3>
                        </div>
                    </a>
                </div>
                <!--货物入库div-->
                <div class="col-md-4 col-sm-4">
                    <a href="javascript:void(0)" class="thumbnail shortcut"> <img
                            src="media/icons/stock_in-512.png" alt="货物入库"
                            class="img-rounded link" style="width: 150px; height: 150px;">
                        <div class="caption">
                            <h3 class="title">货物入库</h3>
                        </div>
                    </a>
                </div>
                <!--货物出库div-->
                <div class="col-md-4 col-sm-4">
                    <a href="javascript:void(0)" class="thumbnail shortcut"> <img
                            src="media/icons/stock_out-512.png" alt="货物出库"
                            class="img-rounded link" style="width: 150px; height: 150px;">
                        <div class="caption">
                            <h3 class="title">货物出库</h3>
                        </div>
                    </a>
                </div>
            </div>
            <div class="col-md-1"></div>
        </div>
    </div>
</div>
